package com.pms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 信箱分页查询参数
 */
@Data
public class MailBoxPageQueryDTO implements Serializable {
    // 页码
    private Integer page;

    // 每页显示数量
    private Integer pageSize;

    //状态  9：已读  10：未读
    private Integer statusId;

    //发件时间范围
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String beginTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
}